import {get, post } from "./request";

export const useUserInfoByUid = (uid) => {
    return get("/user/basicInfo", { uid })
}
export const useUserResume = (uid) => {
    return get("/resume/get", { uid })
}
export const useUpdateResume = (data) => {
    return post("/resume/change", data)
}
export const useUpdateInfo = (data) => {
    return post("/user/update", data)
}
export const QQLogin = (data) => {
    return post("/user/QQLogin", data)
}
export const getUserInfoByToken = () => {
    return get("/user/infoByToken")
}